package vars

import scala.runtime.FloatRef

/**
 * @author: kevin  
 * @date: 11:22 2021/4/27
 */
object Var01 {
  //变量的基本使用
  def main(args: Array[String]): Unit = {
    //编译器，动态的（逃逸分析）
    var age: Int = 20
    var sal: Double = 10.5
    var name: String = "tom"
    var isPass: Boolean = true
    var score: Float = 89.2f
    println(s"${age} ${isPass}")
  }
}
